<?php
require_once 'global.php';

if ($_SERVER['PATH_INFO']) {
    $data = explode("/", $_SERVER['PATH_INFO']);
    $_REQUEST['id'] = (int)$data[1];
    $_REQUEST['pid'] = (int)$data[2];
}

$Controller =& getController('items');
$View = $Controller->getView('frontItemShow');
$View->display('items/items.html');
?>